package com.xxc.hs.funActivity.panel;

public class Question {
    private int id;
    private String title;
    private String description;
    private int expertId;
    private int imageResId; // 新增：图片资源ID

    public Question(int id, String title, String description, int expertId, int imageResId) {
        this.id = id;
        this.title = title;
        this.description = description;
        this.expertId = expertId;
        this.imageResId = imageResId;
    }

    // Getter和Setter
    public int getId() { return id; }
    public void setId(int id) { this.id = id; }
    public String getTitle() { return title; }
    public void setTitle(String title) { this.title = title; }
    public String getDescription() { return description; }
    public void setDescription(String description) { this.description = description; }
    public int getExpertId() { return expertId; }
    public void setExpertId(int expertId) { this.expertId = expertId; }
    public int getImageResId() { return imageResId; } // 新增getter
    public void setImageResId(int imageResId) { this.imageResId = imageResId; } // 新增setter
}